home *** CD-ROM | disk | FTP | other *** search
- // The Coot jamming away
- // Programmed by Joseph Aurili
-
- // Define actions
- action ACOOTPLAY_PLAY 0 5 1 1 20
-
- // Define movements
- move COOTPLAY_STOP
-
- // Define AI states
- ai AICOOTPLAY_PLAY ACOOTPLAY_PLAY COOTPLAY_STOP faceplayer
-
- // Actors ********************************************
- actor COOTPLAY 10000 ACOOTPLAY_PLAY
- fall
- garybanjo
-
- // Start and stay with play
- ifai 0
- {
- cstator 257
- ai AICOOTPLAY_PLAY
- }
-
- // Coot takes a hit
- ifhitweapon
- {
- state random_wall_jibs
- spawn BLOOD
- ifrnd 64
- {
- sound CT_PAIN
- break;
- }
- }
- enda
-
-